package cn.kgc.fallback;

import cn.kgc.pojo.DmImage;

import cn.kgc.client.RestDmImageClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
@Slf4j
public class DmImageClientFallBack implements RestDmImageClient {


    @Override
    public List<DmImage> getDmImage_DefaultImage(Long id, Integer type, Integer category) {
        log.error("远程服务调用失败");
        return null;
    }

    @Override
    public DmImage getDmImageById(Long id) throws Exception {
        log.error("远程服务调用失败");
        return null;
    }

    @Override
    public List<DmImage> getDmImageListByMap(Map
                                                     <String, Object> param) throws Exception {
        return null;
    }

    @Override
    public Integer getDmImageCountByMap(Map
                                                <String, Object> param) throws Exception {
        return null;
    }

    @Override
    public Integer qdtxAddDmImage(DmImage dmImage) throws Exception {
        return null;
    }

    @Override
    public Integer qdtxModifyDmImage(DmImage dmImage) throws Exception {
        return null;
    }

    @Override

    public Integer qdtxDelDmImage(Long id) throws Exception {
        return null;
    }
}
